package com.bobaini.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ther661
 * @version V1.0
 * @Package com.bobaini.springcloud
 * @date 2021/3/25 20:31
 * 此处要扫描到common中的swagger配置类
 * @Copyright © 刘意
 */
@SpringBootApplication
@ComponentScan("com.bobaini")
@EnableDiscoveryClient
@EnableFeignClients
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
